#include <iostream>
#include <stdlib.h>

using namespace std;

class Point{
public:
    Point(int a=0,int b=0) :x(a),y(b){};
   

    void display(){cout<<"x="<<x<<", y="<<y<<endl;}

private:
    int x,y;
};

int main()
{
    Point k,m(1),n(1,2);
    k.display();
    m.display();
    n.display();

    system("pause");
}



